<%inherit file="base.mako" />
<%def name="title()">
    Logging in Error
</%def>
<%def name="js()">
</%def>
% if c.UserNotExisted :
    <span class="note">
        The user you are trying to log in is even not existed,
        <span class="humor">
           why not ${h.link_to('create',h.url('signup_user'))} it?
       </span>
       or, maybe ${h.link_to('login',h.url('login_user'))} again?
   </span>
% elif c.RightNotExisted :
    <% last = session.get('last','/') %>
    <span class="warning">
        The right you told the sever is not existed, ${h.link_to('list',h.url('index_right'))} \
        ${h.link_to('create',h.url('index_right')} it, or ${h.link_to('retry',h.url(last))}?
    </span>
% endif
